Storage system configured for token-based data transfer in active-active configuration with synchronous replication

ABSTRACT

A first storage system is arranged in an active-active configuration with a second storage system. The first storage system receives from a host device a first command of a multiple-command token-based data transfer, the first command specifying a source extent of a storage volume. The first storage system suspends all writes to the storage volume in the first storage system; directs the second storage system to suspend all writes to the storage volume in the second storage system; takes a snapshot of the storage volume in the first storage system; directs the second storage system to take a snapshot of the storage volume in the second storage system; associates a token with the source extent of the storage volume and the snapshot in the first storage system; sends the token to the second storage system; and directs the second storage system to associate the token with the source extent of the storage volume and the snapshot in the second storage system.

FIELD

The field relates generally to information processing systems, and more particularly to storage in information processing systems.

BACKGROUND

Many information processing systems are configured to replicate data from one storage system to another storage system, possibly at different physical sites. In some cases, such arrangements are utilized to support disaster recovery functionality within the information processing system. For example, an enterprise may replicate data from a production data center to a disaster recovery data center. In the event of a disaster at the production site, applications can be started at the disaster recovery site using the data that has been replicated to that site so that the enterprise can continue its business.

Data replication in these and other contexts can be implemented using asynchronous replication at certain times and synchronous replication at other times. For example, asynchronous replication may be configured to periodically transfer data in multiple cycles from a source site to a target site, while synchronous replication may be configured to mirror host writes from the source site to the target site as the writes are made at the source site. Storage systems participating in a replication process can therefore each be configured to support both asynchronous and synchronous replication modes.

Conventional approaches to data replication can be problematic under certain conditions. For example, first and second storage arrays or other types of storage systems arranged in an active-active configuration with synchronous replication often fail to execute multiple-command token-based data transfers such as those implemented using Microsoft Offloaded Data Transfer (ODX) commands. The failure of such token-based data transfers necessitates copying of actual data between the storage systems, thereby consuming network bandwidth and adversely impacting performance.

SUMMARY

Illustrative embodiments provide accurate and efficient token-based data transfer for multiple storage systems arranged in an active-active configuration with synchronous replication. Such arrangements advantageously avoid failures in execution of multiple-command token-based data transfers implemented using ODX commands or types of token-based data transfer commands. For example, illustrative embodiments can avoid a token-based data transfer failure that might otherwise result in the event that a first command defining a source extent of the data transfer is sent to a first storage system of an active-active configuration while a second command directing the copying of the source extent to a target extent is sent to the second storage system of the active-active configuration.

These embodiments illustratively include a clustered implementation of a content addressable storage system having a distributed storage controller. Similar advantages can be provided in other types of storage systems.

In one embodiment, a first storage system comprises a plurality of storage devices and a storage controller. The first storage system is configured to participate in a replication process with a second storage system, illustratively a synchronous replication process. In addition, the first and second storage systems are arranged in an active-active configuration relative to one another. The first storage system is further configured to receive from a host device a first command of a multiple-command token-based data transfer, the first command specifying a source extent of a storage volume; to suspend all writes to the storage volume in the first storage system; to direct the second storage system to suspend all writes to the storage volume in the second storage system; to take a snapshot of the storage volume in the first storage system; to direct the second storage system to take a snapshot of the storage volume in the second storage system; to associate a token with the source extent of the storage volume and the snapshot in the first storage system; to send the token to the second storage system; and to direct the second storage system to associate the token with the source extent of the storage volume and the snapshot in the second storage system.

The storage volume illustratively comprises at least one logical storage volume comprising at least a portion of a physical storage space of one or more of the storage devices. The term “storage volume” as used herein is therefore intended to be broadly construed, so as to encompass a set of one or more logical storage volumes.

The multiple-command token-based data transfer illustratively further involves a second command that may be sent to one of the first and second storage systems by the host device, the second command identifying the token and directing that the source extent of the storage volume be copied to a target extent. The target extent may be part of the same storage volume as the source extent, or part of a different storage volume.

If the host device sends the second command to the first storage system, the first storage system, responsive to receipt of the second command from the host device, copies the source extent of the storage volume to the target extent in the first storage system, and directs the second storage system to copy the source extent of the storage volume to the target extent in the second storage system.

If the host device sends the second command to the second storage system, the first storage system receives from the second storage system a message identifying the token and directing that the source extent of the storage volume be copied to a target extent, and copies the source extent of the storage volume to the target extent in the first storage system responsive to the message. The message is indicative of receipt in the second storage system from the host device of the second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to the target extent.

Illustrative embodiments can therefore properly execute multiple-command token-based data transfers, such as data transfers using ODX commands, even in situations in which a first command defining a source extent of the transfer is sent to one storage system of an active-active configuration and a second command directing the copying of the source extent to a target extent is sent to the other storage system of the active-active configuration. Such situations would generally lead to failure of the token-based data transfer under conventional practice, necessitating copying of actual data between the storage systems, and the associated network bandwidth consumption and adverse performance impact. Illustrative embodiments advantageously avoid these failures.

The first and second storage systems illustratively comprise respective content addressable storage systems having respective sets of non-volatile memory storage devices. For example, the storage devices of the first and second storage systems in such embodiments can be configured to collectively provide respective all-flash storage arrays. The first and second storage systems may in some embodiments be associated with different physical sites. For example, the first storage system may be part of a production site data center and the second storage system may be part of a disaster recovery site data center. Numerous other storage system arrangements are possible in other embodiments.

These and other illustrative embodiments include, without limitation, apparatus, systems, methods and processor-readable storage media.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an information processing system comprising first and second storage arrays configured with functionality for token-based data transfer in an active-active configuration in an illustrative embodiment.

FIG. 2 is a flow diagram of a process for token-based data transfer in an active-active configuration in an illustrative embodiment.

FIG. 3 is a block diagram showing multiple layers of a layered system architecture that includes a multi-path layer in an illustrative embodiment.

FIG. 4 shows a content addressable storage system having a distributed storage controller configured with functionality for token-based data transfer in an active-active configuration in an illustrative embodiment.

FIGS. 5 and 6 show examples of processing platforms that may be utilized to implement at least a portion of an information processing system in illustrative embodiments.

DETAILED DESCRIPTION

Illustrative embodiments will be described herein with reference to exemplary information processing systems and associated computers, servers, storage devices and other processing devices. It is to be appreciated, however, that these and other embodiments are not restricted to the particular illustrative system and device configurations shown. Accordingly, the term “information processing system” as used herein is intended to be broadly construed, so as to encompass, for example, processing systems comprising cloud computing and storage systems, as well as other types of processing systems comprising various combinations of physical and virtual processing resources. An information processing system may therefore comprise, for example, at least one data center or other cloud-based system that includes one or more clouds hosting multiple tenants that share cloud resources. Numerous different types of enterprise computing and storage systems are also encompassed by the term “information processing system” as that term is broadly used herein.

FIG. 1 shows an information processing system 100 configured in accordance with an illustrative embodiment. The information processing system 100 comprises at least first and second host devices 102-1 and 102-2. The host devices 102 are coupled to a network 104 that comprises one or more switch fabrics. The host devices communicate over the network 104 via the one or more switch fabrics with at least first and second storage arrays 105-1 and 105-2. For example, the network 104 illustratively comprises at least one storage area network (SAN) and the one or more switch fabrics illustratively comprise respective distinct switch fabrics of a set of multiple switch fabrics interconnecting the host devices 102 with the storage arrays 105 over the one or more SANs. Each of the one or more switch fabrics in some embodiments is associated with a different SAN.

The system 100 may be configured such that the first host device 102-1 communicates with the first storage array 105-1 over a first switch fabric and communicates with the second storage array 105-2 over a second switch fabric. Similarly, the second host device 102-2 can communicate with the first storage array 105-1 over the first switch fabric and communicate with the second storage array 105-2 over the second switch fabric. Numerous other interconnection arrangements are possible.

Although only two host devices 102 and two storage arrays 105 are shown in the figure, this is by way of illustrative example only, and other embodiments can include additional instances of such elements. It is also possible that alternative embodiments may include only a single host device.

The host devices 102 illustratively comprise respective computers, servers or other types of processing devices capable of communicating with the storage arrays 105 over the network 104. For example, at least a subset of the host devices 102 may be implemented as respective virtual machines of a compute services platform or other type of processing platform. The host devices 102 in such an arrangement illustratively provide compute services such as execution of one or more applications on behalf of each of one or more users associated with respective ones of the host devices 102. The term “user” herein is intended to be broadly construed so as to encompass numerous arrangements of human, hardware, software or firmware entities, as well as combinations of such entities.

Compute and/or storage services may be provided for users under a platform-as-a-service (PaaS) model, an infrastructure-as-a-service (IaaS) model and/or a function-as-a-service (FaaS) model, although it is to be appreciated that numerous other cloud infrastructure arrangements could be used. Also, illustrative embodiments can be implemented outside of the cloud infrastructure context, as in the case of a stand-alone computing and storage system implemented within a given enterprise.

The network 104 may be implemented using multiple networks of different types to interconnect storage system components. For example, the network 104 may comprise a portion of a global computer network such as the Internet, although other types of networks can be part of the network 104, including a wide area network (WAN), a local area network (LAN), a satellite network, a telephone or cable network, a cellular network, a wireless network such as a WiFi or WiMAX network, or various portions or combinations of these and other types of networks. The network 104 in some embodiments therefore comprises combinations of multiple different types of networks each comprising processing devices configured to communicate using Internet Protocol (IP) or other related communication protocols.

As a more particular example, some embodiments may utilize one or more high-speed local networks in which associated processing devices communicate with one another utilizing Peripheral Component Interconnect express (PCIe) cards of those devices, and networking protocols such as InfiniBand, Gigabit Ethernet or Fibre Channel. Numerous alternative networking arrangements are possible in a given embodiment, as will be appreciated by those skilled in the art.

Although illustratively shown as separate from the network 104 in the figure, at least portions of the storage arrays 105 may be considered part of the network 104 in some embodiments. For example, in embodiments in which the network 104 comprises at least one SAN, the storage arrays 105 may be viewed as part of the one or more SANs.

The storage arrays 105-1 and 105-2 comprise respective sets of storage devices 106-1 and 106-2 coupled to respective storage controllers 108-1 and 108-2.

The storage devices 106 of the storage arrays 105 illustratively comprise solid state drives (SSDs). Such SSDs are implemented using non-volatile memory (NVM) devices such as flash memory. Other types of NVM devices that can be used to implement at least a portion of the storage devices 106 include non-volatile random access memory (NVRAM), phase-change RAM (PC-RAM) and magnetic RAM (MRAM). These and various combinations of multiple different types of NVM devices or other storage devices may also be used. Accordingly, numerous other types of electronic or magnetic media can be used in implementing at least a subset of the storage devices 106.

The storage arrays 105 in some embodiments may be implemented as part of cloud infrastructure in the form of a cloud-based system such as an Amazon Web Services (AWS) system. Other examples of cloud-based systems that can be used to provide at least portions of the storage arrays 105 and possibly other portions of system 100 include Google Cloud Platform (GCP) and Microsoft Azure.

The storage arrays 105 may each additionally or alternatively be configured to implement multiple distinct storage tiers of a multi-tier storage system. By way of example, a given multi-tier storage system may comprise a fast tier or performance tier implemented using flash storage devices, and a capacity tier implemented using hard disk drive devices. A wide variety of other types of server-based flash storage devices and multi-tier storage systems can be used in other embodiments, as will be apparent to those skilled in the art. The particular storage devices used in a given storage tier may be varied depending on the particular needs of a given embodiment, and multiple distinct storage device types may be used within a single storage tier. The term “storage device” as used herein is therefore intended to be broadly construed, and so may encompass, for example, disk drives, flash drives, solid-state drives, hybrid drives or other types of storage products and devices, or portions thereof, and illustratively include logical storage devices such as LUNs.

As another example, the storage arrays 105 may each be used to implement one or more storage nodes in a cluster storage system comprising a plurality of storage nodes interconnected by one or more networks.

It should therefore be apparent that the term “storage array” as used herein is intended to be broadly construed, and may encompass multiple distinct instances of a commercially-available storage array.

The sets of storage devices 106 of the respective storage arrays 105 store data utilized by one or more applications running on one or more of the host devices 102. The sets of storage devices 106 are illustratively arranged in one or more storage pools. The storage arrays 105 and their respective sets of storage devices 106 are examples of what are more generally referred to herein as “storage systems.” A given such storage system in the present embodiment may be shared by the host devices 102, and in such arrangements may be referred to as a “shared storage system.”

The sets of storage devices 106 of the storage arrays 105 implement logical units (LUNs) configured to store objects for users associated with the host devices 102. These objects can comprise files, blocks or other types of objects. The host devices 102 interact with the storage arrays 105 utilizing read and write commands as well as other types of commands that are transmitted over the network 104. Such commands in some embodiments more particularly comprise Small Computer System Interface (SCSI) commands, although other types of commands may be used in other embodiments, including commands that are part of a standard command set, or custom commands such as a “vendor unique command” or VU command that is not part of a standard command set. A given input-output (10) operation as that term is broadly used herein illustratively comprises one or more such commands. References herein to terms such as “input-output” and “IO” should be understood to refer to input and/or output. Thus, an 10 operation relates to at least one of input and output.

Also, the term “storage device” as broadly used herein can encompass, for example, a logical storage device such as a LUN or other logical storage volume. A logical storage device can be defined in the storage arrays 105 to include different portions of one or more physical storage devices. The sets of storage devices 106 may therefore be viewed as comprising respective LUNs or other logical storage volumes.

Each of the host devices 102 illustratively has multiple paths to each of the storage arrays 105, with at least one storage device of one of the storage arrays 105 being visible to that host device on a given one of the paths. A given one of the storage devices 106 may be accessible to the given host device over multiple paths. Each of the host devices 102 illustratively has a plurality of paths to each of the storage arrays 105 via the network 104, although numerous other arrangements are possible. Different ones of the host devices 102 can have different numbers and types of paths to the storage arrays 105.

Different ones of the storage devices 106 of the storage arrays 105 illustratively exhibit different latencies in processing of IO operations. In some cases, the same storage device may exhibit different latencies for different ones of multiple paths over which that storage device can be accessed from a given one of the host devices 102.

The host devices 102, network 104 and storage arrays 105 in the FIG. 1 embodiment are assumed to be implemented using at least one processing platform each comprising one or more processing devices each having a processor coupled to a memory. Such processing devices can illustratively include particular arrangements of compute, storage and network resources. For example, processing devices in some embodiments are implemented at least in part utilizing virtual resources such as virtual machines (VMs) or Linux containers (LXCs), or combinations of both as in an arrangement in which Docker containers or other types of LXCs are configured to run on VMs.

Additional examples of processing platforms utilized to implement storage systems and possibly one or more associated host devices in illustrative embodiments will be described in more detail below in conjunction with FIGS. 5 and 6.

The host devices 102 and the storage arrays 105 may be implemented on respective distinct processing platforms, although numerous other arrangements are possible. For example, in some embodiments at least portions of the host devices 102 and the storage arrays 105 are implemented on the same processing platform. The storage arrays 105 can therefore be implemented at least in part within at least one processing platform that implements at least a subset of the host devices 102.

The term “processing platform” as used herein is intended to be broadly construed so as to encompass, by way of illustration and without limitation, multiple sets of processing devices and associated storage systems that are configured to communicate over one or more networks. For example, distributed implementations of the host devices 102 are possible, in which certain ones of the host devices 102 reside in one data center in a first geographic location while other ones of the host devices 102 reside in one or more other data centers in one or more other geographic locations that are potentially remote from the first geographic location. Thus, it is possible in some implementations of the system 100 for different ones of the host devices 102 to reside in different data centers than the storage arrays 105. The storage arrays 105 can be similarly distributed across multiple data centers.

Although in some embodiments certain commands used by the host devices 102 to communicate with the storage arrays 105 illustratively comprise SCSI commands, other types of commands and command formats can be used in other embodiments. For example, some embodiments can implement 10 operations utilizing command features and functionality associated with NVM Express (NVMe), as described in the NVMe Specification, Revision 1.3, May 2017, which is incorporated by reference herein. Other storage protocols of this type that may be utilized in illustrative embodiments disclosed herein include NVMe over Fabric, also referred to as NVMeoF.

In some embodiments, at least one of the storage arrays 105 illustratively comprises a scale-out all-flash content addressable storage array such as an XtremIO™ storage array from Dell EMC of Hopkinton, Mass. Other types of storage arrays, including by way of example VNX® and Symmetrix VMAX® storage arrays also from Dell EMC, can be used to implement storage arrays 105 in other embodiments.

The term “storage system” as used herein is therefore intended to be broadly construed, and should not be viewed as being limited to content addressable storage systems or flash-based storage systems. A given storage system as the term is broadly used herein can comprise, for example, the above-noted SANs, network-attached storage (NAS), direct-attached storage (DAS) or distributed DAS, as well as combinations of these and other storage types, including software-defined storage.

Other particular types of storage products that can be used in implementing storage arrays 105 in illustrative embodiments include all-flash and hybrid flash storage arrays such as Unity™ software-defined storage products such as ScaleIO™ and ViPR®, cloud storage products such as Elastic Cloud Storage (ECS), object-based storage products such as Atmos®, and scale-out NAS clusters comprising Isilon® platform nodes and associated accelerators, all from Dell EMC. Combinations of multiple ones of these and other storage products can also be used in implementing a given storage system in an illustrative embodiment.

The storage arrays 105-1 and 105-2 are assumed to be arranged in an active-active configuration. In such an arrangement, data stored in one of the storage arrays is replicated to the other one of the storage arrays utilizing a replication process. Such data replication across the multiple storage arrays 105 can be used to facilitate failure recovery in the system 100. One of the storage arrays may therefore operate as a production storage array relative to the other storage array which operates as a backup or recovery storage array.

In the present embodiment, it is assumed that the storage arrays 105-1 and 105-2 participate in a replication process that more particularly comprises a synchronous replication process. In accordance with the synchronous replication process, a given one of the host devices 102 writes data to one of the storage arrays 105, and that host device receives an acknowledgement of success only after the data has been successfully written to both of the storage arrays 105. For example, if the host device directs a write to the first storage array 105-1, that storage array mirrors the write to the second storage array 105-2 and receives an acknowledgement of success back from the second storage array 105-2. The first storage array 105-1 then responds back to the host device with an acknowledgement of success.

The synchronous replication process is therefore configured to mirror data writes from one or more of the host devices 102 to both of the storage arrays 105. Other types of replication processes may be used in other embodiments.

For example, a “replication process” as that term is broadly used herein may include both asynchronous and synchronous replication modes as well as support for concurrent operation of such modes and separate operation of the individual modes. It is also possible in some embodiments that a given replication process implemented using storage arrays 105 may comprise only synchronous replication or only asynchronous replication, instead of multiple distinct replication modes.

It is assumed that the storage controllers 108 of the respective storage arrays 105 each comprise replication control logic and a snapshot generator. The replication control logic controls performance of the above-noted synchronous replication process. The snapshot generator is used to generate snapshots of one or more storage volumes that are subject to synchronous replication in conjunction with token-based data transfer.

The snapshots generated by the storage controllers 108 of the storage arrays 105 illustratively comprise respective point-in-time (PIT) replicas of the storage volumes. Multiple snapshots generated over time for a given storage volume can collectively comprise a “snapshot group” and information characterizing those snapshots in some embodiments is stored in the form of a snapshot tree or other arrangement of one or more data structures suitable for storing information characterizing a snapshot group. In some embodiments, a snapshot tree for a storage volume is configured to add a new node each time a new snapshot is generated for that storage volume. The term “snapshot” as used herein is intended to be broadly construed, and in some embodiments may encompass a complete PIT replica or other types of information characterizing the state of a given storage volume at a particular time.

A given storage volume designated for synchronous replication between storage arrays 105 in the system 100 illustratively comprises a set of one or more LUNs or other storage volumes of the storage arrays 105. Each such LUN or other storage volume is assumed to comprise at least a portion of a physical storage space of one or more of the storage devices 106 of the corresponding storage arrays 105.

The host devices 102 comprise respective sets of IO queues 110-1 and 110-2, and respective multi-path input-output (MPIO) drivers 112-1 and 112-2. The MPIO drivers 112 collectively comprise a multi-path layer of the host devices 102. The multi-path layer provides automated path selection functionality using respective instances of path selection logic 114-1 and 114-2 implemented within the MPIO drivers 112.

The MPIO drivers 112 may comprise, for example, PowerPath drivers from Dell EMC. Other types of MPIO drivers from other driver vendors may be utilized in illustrative embodiments.

The MPIO driver 112-1 is configured to select IO operations from its corresponding set of IO queues 110-1 for delivery to the storage arrays 105 over the network 104. The sources of the IO operations stored in the set of IO queues 110-1 illustratively include respective processes of one or more applications executing on the host device 102-1. Other types of sources of IO operations may be present in a given implementation of system 100.

The paths over which the IO requests are sent from the host device 102-1 to the storage arrays 105 illustratively comprise paths associated with respective initiator-target pairs, with each initiator comprising a host bus adaptor (HBA) or other initiating entity of the host device 102-1 and each target comprising a storage array port or other targeted entity corresponding to one or more of the storage devices 106 of the storage arrays 105. As noted above, the storage devices 106 of the storage arrays 105 illustratively comprise LUNs or other types of logical storage devices.

For example, in selecting particular ones of the paths for delivery of the IO operations to the storage arrays 105, the path selection logic 114-1 of the MPIO driver 112-1 illustratively implements a path selection algorithm that selects particular ones of the paths at least in part as a function of path information such as host device HBA and storage array port, with the path selection algorithm being configured to balance the IO operations over the paths or to achieve other load balancing or performance goals.

A given retry of a failed IO operation under such a path selection algorithm can select a path having a different host device HBA and storage array port for a given retry than that of the path selected for the original failed IO operation.

Additional examples of path selection functionality will be described below in conjunction with FIG. 3.

The paths between the host devices 102 and the storage arrays 105 can change over time. For example, the addition of one or more new paths from host device 102-1 to the storage arrays 105 or the deletion of one or more existing paths from the host device 102-1 to the storage arrays 105 may result from respective addition or deletion of at least a portion of the storage devices 106 of the storage arrays 105. Addition or deletion of paths can also occur as a result of zoning and masking changes or other types of storage system reconfigurations performed by a storage administrator or other user.

In some embodiments, paths are added or deleted in conjunction with addition of a new storage array or deletion of an existing storage array from a storage system that includes multiple storage arrays, possibly in conjunction with configuration of the storage system for at least one of a migration operation and a replication operation.

In these and other situations, path discovery scans may be repeated as needed in order to discover the addition of new paths or the deletion of existing paths.

A given path discovery scan can be performed utilizing known functionality of conventional MPIO drivers, such as PowerPath drivers.

The path discovery scan in some embodiments may be further configured to identify one or more new LUNs or other logical storage volumes associated with the one or more new paths identified in the path discovery scan. The path discovery scan may comprise, for example, one or more bus scans which are configured to discover the appearance of any new LUNs that have been added to the storage arrays 105 as well to discover the disappearance of any existing LUNs that have been deleted from the storage arrays 105.

The MPIO driver 112-1 in some embodiments comprises a user-space portion and a kernel-space portion. The kernel-space portion of the MPIO driver 112-1 may be configured to detect one or more path changes of the type mentioned above, and to instruct the user-space portion of the MPIO driver 112-1 to run a path discovery scan responsive to the detected path changes. Other divisions of functionality between the user-space portion and the kernel-space portion of the MPIO driver 112-1 are possible.

For each of one or more new paths identified in the path discovery scan, the host device 102-1 may be configured to execute a host registration operation for that path. The host registration operation for a given new path illustratively provides notification to the corresponding one of the storage arrays 105 that the host device 102-1 has discovered the new path.

The above-described functions associated with automated path selection functionality of the MPIO driver 112-1 are illustratively carried out at least in part under the control of its path selection logic 114-1.

It is assumed that the other MPIO driver 112-2 is configured in a manner similar to that described above and elsewhere herein for the first MPIO driver 112-1. The MPIO driver 112-2 is therefore similarly configured to select 10 operations from its corresponding one of the sets of JO queues 110 for delivery to the storage arrays 105 over the network 104 and to perform the disclosed automated path selection functionality. Accordingly, automated path selection functionality described above in the context of the first MPIO driver 112-1 is assumed to be similarly performed by the other MPIO driver 112-2. The MPIO drivers 112 may be otherwise configured utilizing well-known MPIO functionality such as that described in K. Piepho, “Dell EMC SC Series Storage: Microsoft Multipath 110,” Dell EMC Engineering, June 2017, which is incorporated by reference herein.

As will be described in more detail below, the storage arrays 105 are further configured to perform additional operations associated with token-based data transfer in a manner that advantageously avoid failures in execution of multiple-command token-based data transfers implemented using ODX commands or types of token-based data transfer commands. For example, illustrative embodiments can avoid a token-based data transfer failure that might otherwise result in the event that a first command defining a source extent of the data transfer is sent from a given one of the host devices 102 to the first storage array 105-1 while a second command directing the copying of the source extent to a target extent is sent from that same host device to the second storage array 105-2.

A given token-based data transfer command generated by the given one of the host devices 102 is therefore assumed to comprise at least two distinct commands, including a first command specifying a source extent of a storage volume, and a second command identifying the token and directing that the source extent of the storage volume be copied to a target extent. Examples of token-based data transfer commands include the previously-mentioned ODX commands, although numerous other types and arrangements of token-based data transfer commands can be used in other embodiments.

It should be noted in this regard that the host device illustratively sees a given storage volume as a single storage volume across the two storage arrays 105 that are arranged in the active-active configuration. All relevant parameters of the separate instances of the given storage volume maintained by the separate storage arrays should therefore be the same in each of the storage arrays.

The operation of the storage arrays 105 in processing multiple-command token-based data transfers will now be described. It will be assumed for this description that the first storage array 105-1 receives the first command defining the source extent of a storage volume from one of the host devices 102, although it is also possible that the first command could instead be received by the second storage array 105-2. The second command identifying the token and directing that the source extent of the storage volume be copied to a target extent could be received from the host device by either the first storage array 105-1 or the second storage array 105-2, and both scenarios will be described below. Again, the various arrangements can be reversed, with the first command being received by the second storage array 105-2 and the second command being received by the first storage array 105-1. The various operations performed by each storage array as described below would then be interchanged.

In the present embodiment, responsive to receiving the first command of the multiple-command token-based data transfer from the given one of the host devices 102, the first storage array 105-1 suspend all writes to the storage volume in the first storage array 105-1, and directs the second storage array 105-2 to suspend all writes to the storage volume in the second storage array 105-2.

The first storage array 105-1 then takes a snapshot of the storage volume in the first storage array 105-1, and direct the second storage array 105-2 to take a snapshot of the storage volume in the second storage array 105-2.

The first storage array 105-1 associates a token with the source extent of the storage volume and the snapshot in the first storage array 105-1.

The first storage array 105-1 sends the token to the second storage array 105-2, directing the second storage array 105-2 to associate the token with the source extent of the storage volume and the snapshot in the second storage array 105-2.

Alternative orderings of these operations as possible, but in such alternative orderings, writes are first suspended on both storage arrays, and then snapshots are taken on both storage arrays after their respective suspensions.

As indicated previously, the storage volume that comprises the source extent illustratively comprises at least one logical storage volume, with the logical storage volume comprising at least a portion of a physical storage space of one or more of the storage devices 106. The source extent identifies at least one portion of the logical storage volume that is subject to the token-based data transfer. In some embodiments, the source extent comprises the entire storage volume. Other types of source extents can be used in other embodiments, and the term “source extent” as used herein is intended to be broadly construed. It is also possible that multiple source extents can be associated with a given token-based data transfer.

In some embodiments, the above-noted token is generated by the first storage array 105-1 and returned to the host device responsive to the first command. The token may be generated by the first storage array 105-1 based at least in part on host application block information received from the host device in conjunction with the first command.

For example, the token is illustratively implemented as a sufficiently unique identifier of the corresponding data transfer within system 100, such as a 128-bit universally unique identifier (UUID), possibly generated as a cryptographic hash of information that includes the identity of the storage array 105 issuing the token, an identifier of the storage volume that is subject to the token-based data transfer, source extent information, and a time when the first command was received, or various subsets thereof. Other embodiments can generate the token as a counter value or a random or pseudorandom number. Combinations of these and other arrangements can also be used in generating the token.

The host device incorporates the token received from the first storage array 105-1 into the second command of the token-based data transfer that it sends to one of the first and second storage arrays 105. The particular storage array to which the second command is directed is illustratively determined by a path selection algorithm implemented by the path selection logic 114 of the MPIO driver 112 in the host device. In some embodiments, the path selection algorithm utilizes round robin selection, although a wide variety of other algorithms can be used to achieve different load balancing or performance goals.

The various directions provided by the first storage array 105-1 to the second storage array 105-2 in this embodiment, including the above-described direction to suspend all writes to the storage volume in the second storage array 105-2, to take the snapshot of the storage volume in the second storage array 105-2 and to associate the token with the source extent of the storage volume and the snapshot in the second storage array 105-2, can be included in at least one message sent from the first storage array 105-1 to the second storage array 105-2. For example, each of the directions can be included in a separate message, or multiple ones of the directions can be combined into a single message. The messaging used to convey the directions from the first storage array 105-1 to the second storage array 105-2 can be implemented using any of a variety of command formats or communication protocols, such as the above-noted SCSI commands or other types of vendor unique or non-standard commands, possibly transmitted directly over a Fibre Channel connection between the two storage arrays or indirectly via one or more switch fabrics of the network 104.

As noted above, the second command identifying the token and directing that the source extent of the storage volume be copied to a target extent could be received from the host device by either the first storage array 105-1 or the second storage array 105-2. The target extent is illustratively part of the same storage volume as the source extent. Alternatively, the target extent may be part of a different storage volume than the source extent. Other types of target extents can be used in other embodiments, and the term “target extent” as used herein is intended to be broadly construed. It is also possible that multiple target extents can be associated with a given token-based data transfer.

If the second command is received by the first storage array 105-1, the first storage array 105-1 copies the source extent of the storage volume to the target extent in the first storage array 105-1, and directs the second storage array 105-2 to copy the source extent of the storage volume to the target extent in the second storage array 105-2. This assumes that the first storage array 105-1 recognizes the token in the second command as one that it had previously generated and sent to the host device. The first storage array 105-1 rejects the second command if it has no record of the token.

If the second command is instead received by the second storage array 105-2, the second storage array 105-2 performs the corresponding operations described above. The first storage array 105-1 therefore receives from the second storage array 105-2 a message identifying the token and directing that the source extent of the storage volume be copied to a target extent. The first storage array 105-1 copies the source extent of the storage volume to the target extent in the first storage array 105-1 responsive to the message. The message is indicative of receipt in the second storage array 105-2 from the host device of the second command identifying the token and directing that the source extent of the storage volume be copied to the target extent.

The above-described example operations associated with the multiple-command token-based data transfer in the system 100 are illustratively performed by or otherwise under the control of the storage controllers 108 of the respective storage arrays 105, utilizing replication control logic with token-based data transfer support and associated snapshot generators of the storage controllers 108.

It is to be appreciated that these and other features of illustrative embodiments are presented by way of example only, and should not be construed as limiting in any way. Accordingly, different numbers, types and arrangements of system components such as host devices 102, network 104, storage arrays 105, storage devices 106, storage controllers 108, IO queues 110 and MPIO drivers 112 can be used in other embodiments.

It should also be understood that the particular sets of modules and other components implemented in the system 100 as illustrated in FIG. 1 are presented by way of example only. In other embodiments, only subsets of these components, or additional or alternative sets of components, may be used, and such components may exhibit alternative functionality and configurations.

For example, in other embodiments, various aspects of functionality for token-based data transfer can be implemented in one or more host devices, or partially in a host device and partially in a storage system. Accordingly, illustrative embodiments are not limited to arrangements in which all such functionality is implemented in a storage system or a host device, and therefore encompass various hybrid arrangements in which the functionality is distributed over one or more storage systems and one or more associated host devices, each comprising one or more processing devices.

The operation of the information processing system 100 will now be described in further detail with reference to the flow diagram of the illustrative embodiment of FIG. 2. The process as shown includes steps 200 through 222, and is suitable for use in the system 100 but is more generally applicable to other types of information processing systems each comprising at least one host device and first and second storage systems arranged in an active-active configuration. The first and second storage systems in this embodiment are assumed to comprise at least first and second storage arrays arranged in an active-active configuration, with each storage array having a plurality of storage devices. The storage devices can include logical storage devices such as LUNs or other logical storage volumes.

The steps of the FIG. 2 process are illustratively performed primarily by the first and second storage arrays, such as the first and second storage arrays 105 in system 100, although other arrangements of system components can perform at least portions of one or more of the steps in other embodiments. It is again assumed that the first storage array receives the first command of a multi-command token-based data transfer, although as indicated previously, that scenario can be reversed in other embodiments.

In step 200, the first storage array (“first SA”) receives from a given host device (“host”) a first command of a token-base data transfer, with the first command specifying a source extent of a storage volume. The source extent illustratively defines an extent of pages or other blocks in the storage volume. As mentioned previously, the term “storage volume” as used herein is therefore intended to be broadly construed, so as to encompass a set of one or more logical storage volumes. Terms such as “source extent” and “target extent” are also intended to be broadly construed, and multiple source extents having respective corresponding target extents can be used in other embodiments.

In step 202, the first SA suspends all writes to the storage volume in the first SA.

In step 204, the first SA directs the second storage array (“second SA”) of the active-active configuration to suspect all writes to the storage volume in the second SA.

In step 206, the first SA takes a snapshot of the storage volume and associates a token with the source extent and the snapshot in the first SA.

In step 208, the first SA directs the second SA to take a snapshot of the storage volume and to associate the same token with the source extent and the snapshot in the second SA. The token is therefore sent by the first SA to the second SA, possibly in the same message or set of messages used to convey the directions to take the snapshot and to associate the token with the source extent and the snapshot. The token is also assumed to be returned by the first SA to the host from which the first command was received.

Alternative orderings of some of the steps 202 through 208 can be used, as long as the ordering involves initially suspending writes to the storage volume on the first and second SAs, and then taking snapshots of the storage volume in the first and second SAs.

In step 210, the first and second SAs resume writes to the storage volume.

In step 212, a determination is made as which of the first and second SAs receives from the host the second command of the token-based data transfer, with the second command identifying the token and directing copy of the source extent to a target extent. If the first SA receives the second command, the process moves to step 214, and if the second SA receives the second command, the process moves to step 220.

In each of steps 214 and 220, a determination is made as to whether or not the token is recognized by the SA receiving the second command. If the particular SA receiving the second command, either the first SA in the case of step 214 or the second SA in the case of step 220, does not recognize the token, that SA rejects the second command as indicated in step 216 and the process ends at that point. This unsuccessful token-based data transfer result is illustratively reported back to the host by the SA that rejected the second command. Subsequent actions responsive to this result can include the host reinitiating the token-based data transfer by resending the first command.

In step 218, which is reached if the first SA receives the second command and recognizes the token contained therein, the first SA uses the token to copy the source extent to the target extent in the first SA, and directs the second SA via messaging of the type described elsewhere herein to use the token to copy the source extent to the target extent in the second SA.

In step 222, which is reached if the second SA receives the second command and recognizes the token contained therein, the second SA uses the token to copy the source extent to the target extent in the second SA, and directs the first SA via messaging of the type described elsewhere herein to use the token to copy the source extent to the target extent in the first SA.

Successful completion of the copying of the source extent to the target extent in both the first and second SAs in either step 218 or step 222 corresponds to successful completion of the token-based data transfer. This successful result is illustratively reported back to the host by the particular SA that received the second command from the host, after that SA receives an acknowledgement of successful completion of the copying of the source extent to the target extent by the other SA.

The particular processing operations and other system functionality described in conjunction with the flow diagram of FIG. 2 are presented by way of illustrative example only, and should not be construed as limiting the scope of the disclosure in any way. Alternative embodiments can use other types of processing operations for token-based data transfer in an active-active configuration. For example, the ordering of the process steps may be varied in other embodiments, or certain steps may be performed at least in part concurrently with one another rather than serially. Also, one or more of the process steps may be repeated periodically, or multiple instances of the process can be performed in parallel with one another in order to implement a plurality of different token-based data transfer processes for respective different sets of one or more storage volumes or for different storage systems or portions thereof within a given information processing system.

Functionality such as that described in conjunction with the flow diagram of FIG. 2 can be implemented at least in part in the form of one or more software programs stored in memory and executed by a processor of a processing device such as a computer or server. As will be described below, a memory or other storage device having executable program code of one or more software programs embodied therein is an example of what is more generally referred to herein as a “processor-readable storage medium.”

For example, storage controllers such as storage controllers 108 of storage arrays 105 that are configured to control performance of one or more steps of the FIG. 2 process in their corresponding system 100 can be implemented as part of what is more generally referred to herein as a processing platform comprising one or more processing devices each comprising a processor coupled to a memory. A given such processing device may correspond to one or more virtual machines or other types of virtualization infrastructure such as Docker containers or LXCs. The storage controllers 108, as well as other system components, may be implemented at least in part using processing devices of such processing platforms. For example, in a distributed implementation of a given one of the storage controllers 108, respective distributed modules of such a storage controller can be implemented in respective containers running on respective ones of the processing devices of a processing platform.

Referring now to FIG. 3, another illustrative embodiment is shown. In this embodiment, an information processing system 300 comprising at least one instance of path selection logic 314 is configured in accordance with a layered system architecture that includes an MPIO layer 330, an HBA layer 332, a switch fabric layer 334 and a storage array port layer 336. The MPIO layer 330 and the HBA layer 332 are associated with one or more host devices, the switch fabric layer 334 is associated with one or more SANs or other types of networks, and the storage array port layer 336 is associated with multiple storage arrays (“SAs”) arranged in an active-active configuration using synchronous replication.

The MPIO layer 330 is an example of what is also referred to herein as a multi-path layer, and comprises one or more MPIO drivers implemented in respective host devices. Each such MPIO driver illustratively comprises an instance of path selection logic 314 configured substantially as previously described. Additional or alternative layers and path selection logic arrangements can be used in other embodiments.

In the system 300, path selection logic 314 is configured to select different paths for sending 10 operations from a given host device to a storage array. These paths as illustrated in the figure include a first path from a particular HBA denoted HBA1 through a particular switch fabric denoted SF1 to a particular storage array port denoted PORT1, and a second path from another particular HBA denoted HBA2 through another particular switch fabric denoted SF2 to another particular storage array port denoted PORT2. These two particular paths are shown by way of illustrative example only, and in many practical implementations there will typically be a much larger number of paths between the one or more host devices and the one or more storage arrays, depending upon the specific system configuration and its deployed numbers of HBAs, switch fabrics and storage array ports. For example, each host device in the FIG. 3 embodiment can illustratively have a set of multiple paths to a shared storage array, as in the FIG. 1 embodiment, or alternatively different ones of the host devices can have different numbers and types of paths to the storage array.

The path selection logic 314 of the MPIO layer 330 in this embodiment selects paths for delivery of IO operations to the one or more storage arrays having the storage array ports of the storage array port layer 336. The path selection is illustratively based at least in part on path information such as HBAs and storage array ports. For example, a given retry of a failed 10 operation under such a path selection algorithm can select a path having a different host device HBA and storage array port for a given retry than that of the path selected for the original failed IO operation.

As mentioned previously, different instances of the above-described path selection process can be performed by different MPIO drivers in different host devices.

In some embodiments, the storage system comprises an XtremIO™ storage array or other type of content addressable storage system suitably modified to incorporate token-based data transfer techniques for an active-active configuration as disclosed herein.

An illustrative embodiment of such a content addressable storage system will now be described with reference to FIG. 4. In this embodiment, a content addressable storage system 405 comprises a plurality of storage devices 406 and an associated storage controller 408. The content addressable storage system 405 may be viewed as a particular implementation of a given one of the storage arrays 105, and accordingly is assumed to be coupled to the other one of the storage arrays 105 and to one or more of the host devices 102 within the information processing system 100.

The storage controller 408 in the present embodiment is configured to implement token-based data transfer functionality of the type previously described herein. For example, the content addressable storage system 405 illustratively participates in a synchronous replication process with another instance of the content addressable storage system 405, with the two storage systems being arranged in an active-active configuration relative to one another.

The storage controller 408 includes distributed modules 412 and 414, which are configured to perform operations associated with the token-based data transfer functionality, such as operations similar to those illustrated in the flow diagram of FIG. 2. The distributed module 412 more particularly comprises distributed replication control logic with token-based data transfer support, and the distributed module 414 more particularly comprises a distributed snapshot generator. The distributed module 412 illustratively comprises multiple replication control logic instances on respective ones of a plurality of distinct nodes. Similarly, the distributed module 414 illustratively comprises multiple snapshot generator instances on respective ones of the distinct nodes.

The content addressable storage system 405 in the FIG. 4 embodiment is implemented as at least a portion of a clustered storage system and includes a plurality of storage nodes 415 each comprising a corresponding subset of the storage devices 406. Such storage nodes 415 are examples of the “distinct nodes” referred to above, and other clustered storage system arrangements comprising multiple storage nodes and possibly additional or alternative nodes can be used in other embodiments. A given clustered storage system may therefore include not only storage nodes 415 but also additional storage nodes, compute nodes or other types of nodes coupled to network 104. Alternatively, such additional storage nodes may be part of another clustered storage system of the system 100. Each of the storage nodes 415 of the storage system 405 is assumed to be implemented using at least one processing device comprising a processor coupled to a memory.

The storage controller 408 of the content addressable storage system 405 is implemented in a distributed manner so as to comprise a plurality of distributed storage controller components implemented on respective ones of the storage nodes 415. The storage controller 408 is therefore an example of what is more generally referred to herein as a “distributed storage controller.” In subsequent description herein, the storage controller 408 may be more particularly referred to as a distributed storage controller.

Each of the storage nodes 415 in this embodiment further comprises a set of processing modules configured to communicate over one or more networks with corresponding sets of processing modules on other ones of the storage nodes 415. The sets of processing modules of the storage nodes 415 collectively comprise at least a portion of the distributed storage controller 408 of the content addressable storage system 405.

The modules of the distributed storage controller 408 in the present embodiment more particularly comprise different sets of processing modules implemented on each of the storage nodes 415. The set of processing modules of each of the storage nodes 415 comprises at least a control module 408C, a data module 408D and a routing module 408R. The distributed storage controller 408 further comprises one or more management (“MGMT”) modules 408M. For example, only a single one of the storage nodes 415 may include a management module 408M. It is also possible that management modules 408M may be implemented on each of at least a subset of the storage nodes 415.

Each of the storage nodes 415 of the storage system 405 therefore comprises a set of processing modules configured to communicate over one or more networks with corresponding sets of processing modules on other ones of the storage nodes. A given such set of processing modules implemented on a particular storage node illustratively includes at least one control module 408C, at least one data module 408D and at least one routing module 408R, and possibly a management module 408M. These sets of processing modules of the storage nodes collectively comprise at least a portion of the distributed storage controller 408.

Communication links may be established between the various processing modules of the distributed storage controller 408 using well-known communication protocols such as IP, Transmission Control Protocol (TCP), and remote direct memory access (RDMA). For example, respective sets of IP links used in data transfer and corresponding messaging could be associated with respective different ones of the routing modules 408R.

Although shown as separate modules of the distributed storage controller 408, the modules 412 and 414 in the present embodiment are assumed to be distributed at least in part over at least a subset of the other modules 408C, 408D, 408R and 408M of the storage controller 408. Accordingly, at least portions of the token-based data transfer functionality of the modules 412 and 414 may be implemented in one or more of the other modules of the storage controller 408. In other embodiments, the modules 412 and 414 may be implemented as stand-alone modules of the storage controller 408.

The storage devices 406 are configured to store metadata pages 420 and user data pages 422, and may also store additional information not explicitly shown such as checkpoints and write journals. The metadata pages 420 and the user data pages 422 are illustratively stored in respective designated metadata and user data areas of the storage devices 406. Accordingly, metadata pages 420 and user data pages 422 may be viewed as corresponding to respective designated metadata and user data areas of the storage devices 406.

A given “page” as the term is broadly used herein should not be viewed as being limited to any particular range of fixed sizes. In some embodiments, a page size of 8 kilobytes (KB) is used, but this is by way of example only and can be varied in other embodiments. For example, page sizes of 4 KB, 16 KB or other values can be used. Accordingly, illustrative embodiments can utilize any of a wide variety of alternative paging arrangements for organizing the metadata pages 420 and the user data pages 422.

The user data pages 422 are part of a plurality of LUNs configured to store files, blocks, objects or other arrangements of data, each also generally referred to herein as a “data item,” on behalf of users of the content addressable storage system 405. Each such LUN may comprise particular ones of the above-noted pages of the user data area. The user data stored in the user data pages 422 can include any type of user data that may be utilized in the system 100. The term “user data” herein is therefore also intended to be broadly construed.

A given storage volume for which snapshots are generated using modules 412 and 414 illustratively comprises a set of one or more LUNs, each including multiple ones of the user data pages 422 stored in storage devices 406.

The content addressable storage system 405 in the embodiment of FIG. 4 is configured to generate hash metadata providing a mapping between content-based digests of respective ones of the user data pages 422 and corresponding physical locations of those pages in the user data area. Content-based digests generated using hash functions are also referred to herein as “hash digests.” Such hash digests or other types of content-based digests are examples of what are more generally referred to herein as “content-based signatures” of the respective user data pages 422. The hash metadata generated by the content addressable storage system 405 is illustratively stored as metadata pages 420 in the metadata area. The generation and storage of the hash metadata is assumed to be performed under the control of the storage controller 408.

Each of the metadata pages 420 characterizes a plurality of the user data pages 422. For example, a given set of user data pages representing a portion of the user data pages 422 illustratively comprises a plurality of user data pages denoted User Data Page 1, User Data Page 2, . . . User Data Page n. Each of the user data pages in this example is characterized by a LUN identifier, an offset and a content-based signature. The content-based signature is generated as a hash function of content of the corresponding user data page. Illustrative hash functions that may be used to generate the content-based signature include the above-noted SHA1 hash function, or other secure hashing algorithms known to those skilled in the art. The content-based signature is utilized to determine the location of the corresponding user data page within the user data area of the storage devices 406.

Each of the metadata pages 420 in the present embodiment is assumed to have a signature that is not content-based. For example, the metadata page signatures may be generated using hash functions or other signature generation algorithms that do not utilize content of the metadata pages as input to the signature generation algorithm. Also, each of the metadata pages is assumed to characterize a different set of the user data pages.

A given set of metadata pages representing a portion of the metadata pages 420 in an illustrative embodiment comprises metadata pages denoted Metadata Page 1, Metadata Page 2, . . . Metadata Page m, having respective signatures denoted Signature 1, Signature 2, . . . Signature m. Each such metadata page characterizes a different set of n user data pages. For example, the characterizing information in each metadata page can include the LUN identifiers, offsets and content-based signatures for each of the n user data pages that are characterized by that metadata page. It is to be appreciated, however, that the user data and metadata page configurations described above are examples only, and numerous alternative user data and metadata page configurations can be used in other embodiments.

Ownership of a user data logical address space within the content addressable storage system 405 is illustratively distributed among the control modules 408C.

The token-based data transfer functionality provided by modules 412 and 414 in this embodiment is assumed to be distributed across multiple distributed processing modules, including at least a subset of the processing modules 408C, 408D, 408R and 408M of the distributed storage controller 408.

For example, the management module 408M of the storage controller 408 may include a replication control logic instance that engages corresponding replication control logic instances in all of the control modules 408C and routing modules 408R in order to implement a synchronous replication process.

In some embodiments, the content addressable storage system 405 comprises an XtremIO™ storage array suitably modified to incorporate techniques for token-based data transfer as disclosed herein.

In arrangements of this type, the control modules 408C, data modules 408D and routing modules 408R of the distributed storage controller 408 illustratively comprise respective C-modules, D-modules and R-modules of the XtremIO™ storage array. The one or more management modules 408M of the distributed storage controller 408 in such arrangements illustratively comprise a system-wide management module (“SYM module”) of the XtremIO™ storage array, although other types and arrangements of system-wide management modules can be used in other embodiments. Accordingly, token-based data transfer functionality in some embodiments is implemented under the control of at least one system-wide management module of the distributed storage controller 408, utilizing the C-modules, D-modules and R-modules of the XtremIO™ storage array.

In the above-described XtremIO™ storage array example, each user data page has a fixed size such as 8 KB and its content-based signature is a 20-byte signature generated using an SHA1 hash function. Also, each page has a LUN identifier and an offset, and so is characterized by <lun_id, offset, signature>.

The content-based signature in the present example comprises a content-based digest of the corresponding data page. Such a content-based digest is more particularly referred to as a “hash digest” of the corresponding data page, as the content-based signature is illustratively generated by applying a hash function such as SHA1 to the content of that data page. The full hash digest of a given data page is given by the above-noted 20-byte signature. The hash digest may be represented by a corresponding “hash handle,” which in some cases may comprise a particular portion of the hash digest. The hash handle illustratively maps on a one-to-one basis to the corresponding full hash digest within a designated cluster boundary or other specified storage resource boundary of a given storage system. In arrangements of this type, the hash handle provides a lightweight mechanism for uniquely identifying the corresponding full hash digest and its associated data page within the specified storage resource boundary. The hash digest and hash handle are both considered examples of “content-based signatures” as that term is broadly used herein.

Examples of techniques for generating and processing hash handles for respective hash digests of respective data pages are disclosed in U.S. Pat. No. 9,208,162, entitled “Generating a Short Hash Handle,” and U.S. Pat. No. 9,286,003, entitled “Method and Apparatus for Creating a Short Hash Handle Highly Correlated with a Globally-Unique Hash Signature,” both of which are incorporated by reference herein.

As mentioned previously, storage controller components in an XtremIO™ storage array illustratively include C-module, D-module and R-module components. For example, separate instances of such components can be associated with each of a plurality of storage nodes in a clustered storage system implementation.

The distributed storage controller in this example is configured to group consecutive pages into page groups, to arrange the page groups into slices, and to assign the slices to different ones of the C-modules. For example, if there are 1024 slices distributed evenly across the C-modules, and there are a total of 16 C-modules in a given implementation, each of the C-modules “owns” 1024/16=64 slices. In such arrangements, different ones of the slices are assigned to different ones of the control modules 408C such that control of the slices within the storage controller 408 of the storage system 405 is substantially evenly distributed over the control modules 408C of the storage controller 408.

The D-module allows a user to locate a given user data page based on its signature. Each metadata page also has a size of 8 KB and includes multiple instances of the <lun_id, offset, signature> for respective ones of a plurality of the user data pages. Such metadata pages are illustratively generated by the C-module but are accessed using the D-module based on a metadata page signature.

The metadata page signature in this embodiment is a 20-byte signature but is not based on the content of the metadata page. Instead, the metadata page signature is generated based on an 8-byte metadata page identifier that is a function of the LUN identifier and offset information of that metadata page.

If a user wants to read a user data page having a particular LUN identifier and offset, the corresponding metadata page identifier is first determined, then the metadata page signature is computed for the identified metadata page, and then the metadata page is read using the computed signature. In this embodiment, the metadata page signature is more particularly computed using a signature generation algorithm that generates the signature to include a hash of the 8-byte metadata page identifier, one or more ASCII codes for particular predetermined characters, as well as possible additional fields. The last bit of the metadata page signature may always be set to a particular logic value so as to distinguish it from the user data page signature in which the last bit may always be set to the opposite logic value.

The metadata page signature is used to retrieve the metadata page via the D-module. This metadata page will include the <lun_id, offset, signature> for the user data page if the user page exists. The signature of the user data page is then used to retrieve that user data page, also via the D-module.

Write requests processed in the content addressable storage system 405 each illustratively comprise one or more IO operations directing that at least one data item of the storage system 405 be written to in a particular manner. A given write request is illustratively received in the storage system 405 from a host device over a network. In some embodiments, a write request is received in the distributed storage controller 408 of the storage system 405, and directed from one processing module to another processing module of the distributed storage controller 408. For example, a received write request may be directed from a routing module 408R of the distributed storage controller 408 to a particular control module 408C of the distributed storage controller 408. Other arrangements for receiving and processing write requests from one or more host devices can be used.

The term “write request” as used herein is intended to be broadly construed, so as to encompass one or more IO operations directing that at least one data item of a storage system be written to in a particular manner. A given write request is illustratively received in a storage system from a host device.

In the XtremIO™ context, the C-modules, D-modules and R-modules of the storage nodes 415 communicate with one another over a high-speed internal network such as an InfiniBand network. The C-modules, D-modules and R-modules coordinate with one another to accomplish various IO processing tasks.

The write requests from the host devices identify particular data pages to be written in the storage system 405 by their corresponding logical addresses each comprising a LUN ID and an offset.

As noted above, a given one of the content-based signatures illustratively comprises a hash digest of the corresponding data page, with the hash digest being generated by applying a hash function to the content of that data page. The hash digest may be uniquely represented within a given storage resource boundary by a corresponding hash handle.

The storage system 405 utilizes a two-level mapping process to map logical block addresses to physical block addresses. The first level of mapping uses an address-to-hash (“A2H”) table and the second level of mapping uses a hash metadata (“HMD”) table, with the A2H and HMD tables corresponding to respective logical and physical layers of the content-based signature mapping within the storage system 405.

The first level of mapping using the A2H table associates logical addresses of respective data pages with respective content-based signatures of those data pages. This is also referred to as logical layer mapping.

The second level of mapping using the HMD table associates respective ones of the content-based signatures with respective physical storage locations in one or more of the storage devices 406. This is also referred to as physical layer mapping.

For a given write request, both of the corresponding HMD and A2H tables are updated in conjunction with the processing of that write request.

The A2H and HMD tables described above are examples of what are more generally referred to herein as “mapping tables” of respective first and second distinct types. Other types and arrangements of mapping tables or other content-based signature mapping information may be used in other embodiments.

The logical block addresses or LBAs of a logical layer of the storage system 405 correspond to respective physical blocks of a physical layer of the storage system 405. The user data pages of the logical layer are organized by LBA and have reference via respective content-based signatures to particular physical blocks of the physical layer.

Each of the physical blocks has an associated reference count that is maintained within the storage system 405. The reference count for a given physical block indicates the number of logical blocks that point to that same physical block.

In releasing logical address space in the storage system, a dereferencing operation is generally executed for each of the LBAs being released. More particularly, the reference count of the corresponding physical block is decremented. A reference count of zero indicates that there are no longer any logical blocks that reference the corresponding physical block, and so that physical block can be released.

It should also be understood that the particular arrangement of storage controller processing modules 408C, 408D, 408R and 408M as shown in the FIG. 4 embodiment is presented by way of example only. Numerous alternative arrangements of processing modules of a distributed storage controller may be used to implement token-based data transfer functionality in a clustered storage system in other embodiments.

Additional examples of content addressable storage functionality implemented in some embodiments by control modules 408C, data modules 408D, routing modules 408R and management module(s) 408M of distributed storage controller 408 can be found in U.S. Pat. No. 9,104,326, entitled “Scalable Block Data Storage Using Content Addressing,” which is incorporated by reference herein. Alternative arrangements of these and other storage node processing modules of a distributed storage controller in a content addressable storage system can be used in other embodiments.

Illustrative embodiments of a storage system with token-based data transfer functionality as disclosed herein can provide a number of significant advantages relative to conventional arrangements.

For example, some embodiments are advantageously configured to provide accurate and efficient token-based data transfer for multiple storage systems arranged in an active-active configuration with synchronous replication.

Such arrangements advantageously avoid failures in execution of multiple-command token-based data transfers implemented using ODX commands or types of token-based data transfer commands.

More particularly, illustrative embodiments can avoid a token-based data transfer failure that might otherwise result in the event that a first command defining a source extent of the data transfer is sent to a first storage system of an active-active configuration while a second command directing the copying of the source extent to a target extent is sent to the second storage system of the active-active configuration.

By avoiding such failures, illustrative embodiments also avoid the need to transfer all of the data over a potentially scarce network resource between the first and second storage systems responsive to a given such failure.

Accordingly, illustrative embodiments disclosed herein can considerably improve the operation of storage systems by permitting the accurate and efficient execution of token-based data transfers when such storage systems are arranged in an active-active configuration.

It is to be appreciated that the particular advantages described above and elsewhere herein are associated with particular illustrative embodiments and need not be present in other embodiments. Also, the particular types of information processing system features and functionality as illustrated in the drawings and described above are exemplary only, and numerous other arrangements may be used in other embodiments.

Illustrative embodiments of processing platforms utilized to implement storage systems and possibly one or more associated host devices will now be described in greater detail with reference to FIGS. 5 and 6. Although described in the context of system 100, these platforms may also be used to implement at least portions of other information processing systems in other embodiments.

FIG. 5 shows an example processing platform comprising cloud infrastructure 500. The cloud infrastructure 500 comprises a combination of physical and virtual processing resources that may be utilized to implement at least a portion of the information processing system 100. The cloud infrastructure 500 comprises multiple virtual machines (VMs) and/or container sets 502-1, 502-2, . . . 502-L implemented using virtualization infrastructure 504. The virtualization infrastructure 504 runs on physical infrastructure 505, and illustratively comprises one or more hypervisors and/or operating system level virtualization infrastructure. The operating system level virtualization infrastructure illustratively comprises kernel control groups of a Linux operating system or other type of operating system.

The cloud infrastructure 500 further comprises sets of applications 510-1, 510-2, . . . 510-L running on respective ones of the VMs/container sets 502-1, 502-2, . . . 502-L under the control of the virtualization infrastructure 504. The VMs/container sets 502 may comprise respective VMs, respective sets of one or more containers, or respective sets of one or more containers running in VMs.

In some implementations of the FIG. 5 embodiment, the VMs/container sets 502 comprise respective VMs implemented using virtualization infrastructure 504 that comprises at least one hypervisor. Such implementations can provide token-based data transfer functionality of the type described above for one or more processes running on a given one of the VMs. For example, each of the VMs can implement replication control logic with token-based data transfer support and associated snapshot generators for providing token-based data transfer functionality in the system 100.

An example of a hypervisor platform that may be used to implement a hypervisor within the virtualization infrastructure 504 is the VMware® vSphere® which may have an associated virtual infrastructure management system such as the VMware® vCenter™. The underlying physical machines may comprise one or more distributed processing platforms that include one or more storage systems.

In other implementations of the FIG. 5 embodiment, the VMs/container sets 502 comprise respective containers implemented using virtualization infrastructure 504 that provides operating system level virtualization functionality, such as support for Docker containers running on bare metal hosts, or Docker containers running on VMs. The containers are illustratively implemented using respective kernel control groups of the operating system. Such implementations can also provide token-based data transfer functionality of the type described above. For example, a container host device supporting multiple containers of one or more container sets can implement one or more instances of replication control logic with token-based data transfer support and associated snapshot generators for providing token-based data transfer functionality in the system 100.

As is apparent from the above, one or more of the processing modules or other components of system 100 may each run on a computer, server, storage device or other processing platform element. A given such element may be viewed as an example of what is more generally referred to herein as a “processing device.” The cloud infrastructure 500 shown in FIG. 5 may represent at least a portion of one processing platform. Another example of such a processing platform is processing platform 600 shown in FIG. 6.

The processing platform 600 in this embodiment comprises a portion of system 100 and includes a plurality of processing devices, denoted 602-1, 602-2, 602-3, . . . 602-K, which communicate with one another over a network 604.

The network 604 may comprise any type of network, including by way of example a global computer network such as the Internet, a WAN, a LAN, a satellite network, a telephone or cable network, a cellular network, a wireless network such as a WiFi or WiMAX network, or various portions or combinations of these and other types of networks.

The processing device 602-1 in the processing platform 600 comprises a processor 610 coupled to a memory 612.

The processor 610 may comprise a microprocessor, a microcontroller, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), graphics processing unit (GPU) or other type of processing circuitry, as well as portions or combinations of such circuitry elements.

The memory 612 may comprise random access memory (RAM), read-only memory (ROM), flash memory or other types of memory, in any combination. The memory 612 and other memories disclosed herein should be viewed as illustrative examples of what are more generally referred to as “processor-readable storage media” storing executable program code of one or more software programs.

Articles of manufacture comprising such processor-readable storage media are considered illustrative embodiments. A given such article of manufacture may comprise, for example, a storage array, a storage disk or an integrated circuit containing RAM, ROM, flash memory or other electronic memory, or any of a wide variety of other types of computer program products. The term “article of manufacture” as used herein should be understood to exclude transitory, propagating signals. Numerous other types of computer program products comprising processor-readable storage media can be used.

Also included in the processing device 602-1 is network interface circuitry 614, which is used to interface the processing device with the network 604 and other system components, and may comprise conventional transceivers.

The other processing devices 602 of the processing platform 600 are assumed to be configured in a manner similar to that shown for processing device 602-1 in the figure.

Again, the particular processing platform 600 shown in the figure is presented by way of example only, and system 100 may include additional or alternative processing platforms, as well as numerous distinct processing platforms in any combination, with each such platform comprising one or more computers, servers, storage devices or other processing devices.

For example, other processing platforms used to implement illustrative embodiments can comprise converged infrastructure such as VxRail™, VxRack™, VxRack™ FLEX, VxBlock™ or Vblock® converged infrastructure from VCE, the Virtual Computing Environment Company, now the Converged Platform and Solutions Division of Dell EMC.

It should therefore be understood that in other embodiments different arrangements of additional or alternative elements may be used. At least a subset of these elements may be collectively implemented on a common processing platform, or each such element may be implemented on a separate processing platform.

As indicated previously, components of an information processing system as disclosed herein can be implemented at least in part in the form of one or more software programs stored in memory and executed by a processor of a processing device. For example, at least portions of the token-based data transfer functionality of one or more components of a storage system as disclosed herein are illustratively implemented in the form of software running on one or more processing devices.

It should again be emphasized that the above-described embodiments are presented for purposes of illustration only. Many variations and other alternative embodiments may be used. For example, the disclosed techniques are applicable to a wide variety of other types of information processing systems, host devices, storage systems, storage nodes, storage devices, storage controllers, replication processes, token-based data transfer processes and associated control logic. Also, the particular configurations of system and device elements and associated processing operations illustratively shown in the drawings can be varied in other embodiments. Moreover, the various assumptions made above in the course of describing the illustrative embodiments should also be viewed as exemplary rather than as requirements or limitations of the disclosure. Numerous other alternative embodiments within the scope of the appended claims will be readily apparent to those skilled in the art. 

What is claimed is:
 1. An apparatus comprising: a first storage system comprising a plurality of storage devices and a storage controller; the first storage system being configured to participate in a replication process with a second storage system; the first and second storage systems being arranged in an active-active configuration relative to one another; the first storage system being further configured: to receive from a host device a first command of a multiple-command token-based data transfer, the first command specifying a source extent of a storage volume; to suspend all writes to the storage volume in the first storage system; to direct the second storage system to suspend all writes to the storage volume in the second storage system; to take a snapshot of the storage volume in the first storage system; to direct the second storage system to take a snapshot of the storage volume in the second storage system; to associate a token with the source extent of the storage volume and the snapshot in the first storage system; to send the token to the second storage system; and to direct the second storage system to associate the token with the source extent of the storage volume and the snapshot in the second storage system.
 2. The apparatus of claim 1 wherein the storage volume comprises at least one logical storage volume comprising at least a portion of a physical storage space of one or more of the storage devices.
 3. The apparatus of claim 1 wherein the replication process comprises a synchronous replication process.
 4. The apparatus of claim 1 wherein the token is generated by the first storage system and returned to the host device responsive to the first command.
 5. The apparatus of claim 4 wherein the token is generated by the first storage system based at least in part on host application block information received from the host device in conjunction with the first command.
 6. The apparatus of claim 1 wherein the first storage system directs the second storage system to suspend all writes to the storage volume in the second storage system, to take the snapshot of the storage volume in the second storage system and to associate the token with the source extent of the storage volume and the snapshot in the second storage system in at least one message sent from the first storage system to the second storage system.
 7. The apparatus of claim 1 wherein the first storage system is further configured to receive from the host device a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to a target extent.
 8. The apparatus of claim 7 wherein the target extent is part of the same storage volume as the source extent.
 9. The apparatus of claim 7 wherein the target extent is part of a different storage volume than the source extent.
 10. The apparatus of claim 7 wherein the first storage system is further configured responsive to receipt of the second command from the host device: to copy the source extent of the storage volume to the target extent in the first storage system; and to direct the second storage system to copy the source extent of the storage volume to the target extent in the second storage system.
 11. The apparatus of claim 7 wherein the first storage system is further configured to reject the second command if it has no record of the token.
 12. The apparatus of claim 1 wherein the first storage system is further configured: to receive from the second storage system a message identifying the token and directing that the source extent of the storage volume be copied to a target extent; and to copy the source extent of the storage volume to the target extent in the first storage system responsive to the message.
 13. The apparatus of claim 12 wherein the message is indicative of receipt in the second storage system from the host device of a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to the target extent.
 14. The apparatus of claim 1 wherein the source extent comprises the storage volume in its entirety.
 15. A method comprising: configuring a first storage system to participate in a replication process with a second storage system, the first and second storage systems being in an active-active configuration relative to one another; and the first storage system: receiving from a host device a first command of a multiple-command token-based data transfer, the first command specifying a source extent of a storage volume; suspending all writes to the storage volume in the first storage system; directing the second storage system to suspend all writes to the storage volume in the second storage system; taking a snapshot of the storage volume in the first storage system; directing the second storage system to take a snapshot of the storage volume in the second storage system; associating a token with the source extent of the storage volume and the snapshot in the first storage system; sending the token to the second storage system; and directing the second storage system to associate the token with the source extent of the storage volume and the snapshot in the second storage system; wherein the method is implemented by at least one processing device comprising a processor coupled to a memory.
 16. The method of claim 15 wherein the first storage system is further configured to receive from the host device a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to a target extent.
 17. The method of claim 15 wherein the first storage system is further configured: to receive from the second storage system a message identifying the token and directing that the source extent of the storage volume be copied to a target extent; and to copy the source extent of the storage volume to the target extent in the first storage system responsive to the message; wherein the message is indicative of receipt in the second storage system from the host device of a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to the target extent.
 18. A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes said at least one processing device: to configure a first storage system to participate in a replication process with a second storage system, the first and second storage systems being in an active-active configuration relative to one another; the first storage system being further configured: to receive from a host device a first command of a multiple-command token-based data transfer, the first command specifying a source extent of a storage volume; to suspend all writes to the storage volume in the first storage system; to direct the second storage system to suspend all writes to the storage volume in the second storage system; to take a snapshot of the storage volume in the first storage system; to direct the second storage system to take a snapshot of the storage volume in the second storage system; to associate a token with the source extent of the storage volume and the snapshot in the first storage system; to send the token to the second storage system; and to direct the second storage system to associate the token with the source extent of the storage volume and the snapshot in the second storage system.
 19. The computer program product of claim 18 wherein the first storage system is further configured to receive from the host device a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to a target extent.
 20. The computer program product of claim 18 wherein the first storage system is further configured: to receive from the second storage system a message identifying the token and directing that the source extent of the storage volume be copied to a target extent; and to copy the source extent of the storage volume to the target extent in the first storage system responsive to the message; wherein the message is indicative of receipt in the second storage system from the host device of a second command of the multiple-command token-based data transfer, the second command identifying the token and directing that the source extent of the storage volume be copied to the target extent. 